﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="SpecialRecharge.aspx.cs" Inherits="SpecialRecharge" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 195px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <br />
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    
       <asp:LinkButton ID="lbtnStep1" runat="server" Font-Underline="False" OnClick="lbtnStep1_Click">----Step 1----Enter Your Mobile Number</asp:LinkButton>
                        <br />
                        <br />
                        <asp:Label ID="Label1" runat="server" ForeColor="Blue" Text="Enter your mobile:  "></asp:Label>
                        <asp:TextBox ID="txtMobile" runat="server" Width="201px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtMobile" ErrorMessage="You must enter your mobile" 
                ForeColor="#CC0000"></asp:RequiredFieldValidator>
                        <br />
                        <asp:Button ID="btnCheck" runat="server" OnClick="btnCheck_Click" Text="Check" />
                        <br />
                        <asp:Label ID="lblStatusStep1" runat="server" Text="Label" ForeColor="Red"></asp:Label>
                        <br />
                        <asp:LinkButton ID="lbtnStep2" runat="server" Font-Underline="False" OnClick="lbtnStep2_Click">----Step 2----Select one Top Up</asp:LinkButton>
                        <br />
                        <asp:GridView ID="gdvSpecialRecharge" runat="server" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="Id_SD" ForeColor="#333333" GridLines="None" Height="148px" OnRowUpdating="gdvSpecialRecharge_RowUpdating" ShowHeaderWhenEmpty="True" Width="722px">
                            <AlternatingRowStyle BackColor="White" />
                            <Columns>
                                <asp:BoundField DataField="Id_SD" HeaderText="ID" Visible="False">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                </asp:BoundField>
                                <asp:BoundField DataField="packageName" HeaderText="Package" />
                                <asp:TemplateField HeaderText="Duration Date">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("durationDate") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="Label1" runat="server" Text='<%# Bind("durationDate") %>'></asp:Label>
                                        <asp:Label ID="Label18" runat="server" Text=" date"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Denomination">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("denomination") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="Label2" runat="server" Text='<%# Bind("denomination") %>'></asp:Label>
                                        <asp:Label ID="Label19" runat="server" Text=" $/date"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Discount">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("discount") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="Label3" runat="server" Text='<%# Bind("discount") %>'></asp:Label>
                                        <asp:Label ID="Label20" runat="server" Text=" %"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Total">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("total") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="Label4" runat="server" Text='<%# Bind("total") %>'></asp:Label>
                                        <asp:Label ID="Label21" runat="server" Text=" $"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="description" HeaderText="Description" />
                                <asp:TemplateField HeaderText="Buy">
                                    <ItemTemplate>
                                        <asp:ImageButton ID="ImageButton1" runat="server" CommandName="update" Height="22px" ImageAlign="AbsMiddle" ImageUrl="~/images/ico_cart.jpg" ToolTip="Click here to buy this service" Width="25px" />
                                    </ItemTemplate>
                                    <ControlStyle Font-Strikeout="False" />
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:TemplateField>
                            </Columns>
                            <EditRowStyle BackColor="#2461BF" />
                            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                            <RowStyle BackColor="#EFF3FB" />
                            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                            <SortedAscendingCellStyle BackColor="#F5F7FB" />
                            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                            <SortedDescendingCellStyle BackColor="#E9EBEF" />
                            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
                        <br />
                        <asp:Panel ID="panelPayment" runat="server">
                            <asp:Label ID="Label14" runat="server" Text="----Step 3----Select Payment Method"></asp:Label>
                            <br />
                            <asp:Button ID="btnOnline" runat="server" OnClick="btnOnline_Click" Text="Online" />
                            &nbsp;&nbsp;&nbsp;
                            <asp:Button ID="btnPostBank" runat="server" OnClick="btnPostBank_Click" Text="PostBank" />
                            &nbsp;&nbsp;&nbsp;
                            <asp:Button ID="btnDirect" runat="server" OnClick="btnDirect_Click" Text="Direct" />
                        </asp:Panel>
                        <br />
                        <asp:Panel ID="panelOnline" runat="server">
                            <asp:Label ID="Label15" runat="server" Text="----Step 4----Payment"></asp:Label>
                            <br />
                            <asp:Label ID="Label3" runat="server" Text="Card Acceptance:"></asp:Label>
                            <asp:DropDownList ID="DropDownList1" runat="server">
                                <asp:ListItem>VisaCard</asp:ListItem>
                                <asp:ListItem>MasterCard</asp:ListItem>
                            </asp:DropDownList>
                            <br />
                            <asp:Label ID="Label4" runat="server" Text="Card Number:"></asp:Label>
                            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                            <br />
                            <asp:Label ID="Label5" runat="server" Text="Expression date:"></asp:Label>
                            <asp:Label ID="Label7" runat="server" Font-Size="Medium" Text="Month: "></asp:Label>
                            <asp:DropDownList ID="ddlMonth" runat="server">
                                <asp:ListItem>01</asp:ListItem>
                                <asp:ListItem>02</asp:ListItem>
                                <asp:ListItem>03</asp:ListItem>
                                <asp:ListItem>04</asp:ListItem>
                                <asp:ListItem>05</asp:ListItem>
                                <asp:ListItem>06</asp:ListItem>
                                <asp:ListItem>07</asp:ListItem>
                                <asp:ListItem>08</asp:ListItem>
                                <asp:ListItem>09</asp:ListItem>
                                <asp:ListItem>10</asp:ListItem>
                                <asp:ListItem>11</asp:ListItem>
                                <asp:ListItem>12</asp:ListItem>
                            </asp:DropDownList>
                            <asp:Label ID="Label6" runat="server" Font-Size="Medium" Text="Year: "></asp:Label>
                            <asp:DropDownList ID="ddlYear" runat="server">
                                <asp:ListItem>2013</asp:ListItem>
                                <asp:ListItem>2014</asp:ListItem>
                                <asp:ListItem>2015</asp:ListItem>
                                <asp:ListItem>2016</asp:ListItem>
                                <asp:ListItem>2017</asp:ListItem>
                            </asp:DropDownList>
                            <br />
                            <asp:Label ID="Label8" runat="server" Text="Card Security Code:"></asp:Label>
                            <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                            <br />
                            <asp:Button ID="btnPayOnline" runat="server" OnClick="btnPayOnline_Click" Text="Pay" OnClientClick="javascript:alert(&quot;Pend successful&quot;);" />
                            <br />
                        </asp:Panel>
                        <br />
                        <asp:Panel ID="panelPostBank" runat="server">
                            <asp:Label ID="Label16" runat="server" Text="----Step 4----Payment"></asp:Label>
                            <br />
                            <asp:Label ID="Label9" runat="server" Text="Select Your Bank: "></asp:Label>
                            <asp:DropDownList ID="DropDownList2" runat="server">
                                <asp:ListItem>VietinBank</asp:ListItem>
                                <asp:ListItem>SHB</asp:ListItem>
                                <asp:ListItem>HDBank</asp:ListItem>
                            </asp:DropDownList>
                            <br />
                            <asp:Label ID="Label10" runat="server" Text="UserName"></asp:Label>
                            <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                            <br />
                            <asp:Label ID="Label11" runat="server" Text="Password"></asp:Label>
                            <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                            .<br />
                            <asp:Button ID="btnPayPostBank" runat="server" Text="Pay" OnClick="btnPayPostBank_Click" OnClientClick="javascript:alert(&quot;Pend successful&quot;);" />
                            <br />
                        </asp:Panel>
                        <br />
                        <asp:Panel ID="panelDirect" runat="server">
                            <asp:Label ID="Label17" runat="server" Text="----Step 4----Payment"></asp:Label>
                            <br />
                            <asp:Label ID="Label12" runat="server" Text="My Adress: 1, Giang Vo"></asp:Label>
                            <br />
                            <asp:Label ID="Label13" runat="server" Text="Hotline: 0988 192 700"></asp:Label>
                            <br />
                            <asp:Button ID="btnPayDirect" runat="server" Text="Ok" OnClick="btnPayDirect_Click" OnClientClick="javascript:alert(&quot;Pend successful&quot;);" />
                        </asp:Panel>
                        <br />
                        <br />
                        <asp:Button ID="btnBack" runat="server" Text="Home" Width="58px" ForeColor="Blue" />
                        <br />
                        <asp:Label ID="lblError" runat="server" Text="Label" ForeColor="Red"></asp:Label>
                    
      
    </ContentTemplate>
    </asp:UpdatePanel>
    <br />
</asp:Content>
